package cn.com.api.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.com.api.entity.ApiNews;

public interface ApiNewsMapper {

	public List<ApiNews> selectApiNews();

	// 关于我们
	public List<ApiNews> ApiAboutus(@Param("ctype") String ctype);

	// 帮助中心
	public List<ApiNews> help(@Param("ctype") String ctype);

	// 查看帮助内容
	public List<ApiNews> helpContent(@Param("rid") Integer rid);

	// 广告
	public List<ApiNews> findNewsAd(@Param("ctype") String ctype,
			@Param("city_id") Integer city_id);
}